package com.hu.zhcc.shiro.service.Appointment;

import com.hu.zhcc.shiro.dao.EntryteamMapper;
import com.hu.zhcc.shiro.entity.Appointment.Entry;
import com.hu.zhcc.shiro.entity.Appointment.Entryteam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class EntryteamServiceImpl implements EntryteamService {

    @Autowired
    private EntryteamMapper entryteamMapper;

    @Override
    public List<Entryteam> connectSelectEntry(Map map) {
        return entryteamMapper.connectSelectEntry(map);
    }

    @Override
    public int insertSelective(Entryteam record) {
        return entryteamMapper.insertSelective(record);
    }

    @Override
    public List<Entryteam> selectEntryTeamsAll() {
        return entryteamMapper.selectEntryTeamsAll();
    }
}
